package com.librarydemo.demo.entity;

public class User {
    private int uid;
    private String username;
    private String password;
    private int borrowNumber;
    private int phoneNumber;
    private String picture;

    public User() {
    }

    public User(int uid, String username, String password, int borrowNumber, int phoneNumber, String picture) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.borrowNumber = borrowNumber;
        this.phoneNumber = phoneNumber;
        this.picture = picture;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getBorrowNumber() {
        return borrowNumber;
    }

    public void setBorrowNumber(int borrowNumber) {
        this.borrowNumber = borrowNumber;
    }

    public int getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(int phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", borrowNumber=" + borrowNumber +
                ", phoneNumber=" + phoneNumber +
                ", picture='" + picture + '\'' +
                '}';
    }
}
